package cn.bdqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("orders_line")
public class OrdersLine implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long oddId;
    private Long oddOrderId;
    private Long oddProdId;
    private Integer oddCount;
    private String oddUnit;
    private Double oddPrice;
    //商品名称
    @TableField(exist = false)
    private String prodName;
    //商品名称
    @TableField(exist = false)
    private String custName;
}